/**
 * Created with CLion.
 * Description: 
 * User: loong
 * Date: 2021-03-25
 * Time: 19:01
 */
#ifndef CODSEEGMENT_PROPERTYDIALOG_H
#define CODSEEGMENT_PROPERTYDIALOG_H
#include <QtWidgets>
class DiagramBaseItem;

class PropertyDialog
        : public QDialog
{
    Q_OBJECT
public:
    explicit PropertyDialog(DiagramBaseItem * item, QWidget * parent = nullptr);
    ~PropertyDialog() override = default;

private:
    void InitUI();
    void InitEvent();
private:
    DiagramBaseItem *           item_;
    QDialogButtonBox *          button_box_;
    QMap<QString,QLineEdit*>    line_edit_map_;
};


#endif //CODSEEGMENT_PROPERTYDIALOG_H
